﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PulsePrototype.Messages.PhysicsMessages
{
    /// <summary>
    /// Messaging system code by Nic Foster 
    /// http://gamedev.stackexchange.com/questions/23533/interaction-between-engine-parts/23578#23578
    /// Using floats instead of an XNA type Vector2 or Vector3 makes it slightly more flexible.
    /// </summary>
    public class WheelSpeedMessage : BaseMessage
    {
        public float speed;

        protected WheelSpeedMessage(int destinationEntityID, MessageType messageType,
            float Speed = 0.0f) :
            base(destinationEntityID, messageType)
        {
            this.speed = Speed;
        }

    }
}
